package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;

import java.util.ArrayList;

public interface EmployeeService {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    ArrayList<Employee> searchEmployee(EmployeePageQueryDTO employeePageQueryDTO);

    void addEmp(EmployeeDTO employeeDTO);

    Long getCount();

    void changeStatus(int status, int id);

    int changePassword(PasswordEditDTO passwordEditDTO);

    void changeEmp(EmployeeDTO employeeDTO);

    Employee searchId(int id);
}
